@import "./common.css";
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    background: #c3dbf1;
}

header {
    background: #acd4f7;
    width: 100%;
    position: relative;
    // height: 500px;
    img {
        width: 100%;
        &.bg1 {
            z-index: 1;
        }

        &.bg2 {
            position: absolute;
            z-index: 2;
            left: -25px;
            bottom: -18px;
            width: 88%;
        }

        &.bg3 {
            position: absolute;
            width: 20%;
            z-index: 3;
            right: 0px;
            top: 0;
        }

        &.bg4 {
            position: absolute;
            z-index: 3;
            right: 0px;
            top: 0;
        }

        &.bg5 {
            position: absolute;
            z-index: 4;
            left: -92%;
            top: 30%;
        }
    }
    h1 {
        position: absolute;
        left: 18%;
        top: 10%;
        z-index: 4;
        color: rgb(44, 130, 201);
        font-size: 28px;
    }
    h2 {
        position: absolute;
        left: 47%;
        top: 30%;
        z-index: 4;
        font-size: 32px;
        color: rgb(44, 130, 201);

        font-weight: bold;
    }

    h3 {
        position: absolute;
        left: 55%;
        top: 44%;
        z-index: 4;
        font-size: 25px;
        color: rgb(89, 89, 89);
        font-weight: bold;
    }
    p {
        position: absolute;
        left: 55%;
        bottom: 30%;
        z-index: 4;
        color: #000;
        font-size: 12px;
        text-align: center;
    }
}

main {
    section {
        &.business-type {
            padding-top: 20px;
            background: #acd4f7;

            ul:nth-of-type(1) {
                display: flex;
                align-items: center;
                justify-content: center;
                li {
                    width: 110px;
                    height: 140px;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    justify-content: center;
                    img {
                        width: 50px;
                        //    height: 50px;
                    }
                    &:nth-of-type(1) {
                        background: white;
                    }

                    &:nth-of-type(2) {
                        background: #005bac;
                        p {
                            color: white;
                        }
                    }

                    p {
                        align-self: flex-end;
                        text-align: center;
                        color: rgb(137, 137, 137);
                        font-size: 16px;
                        font-weight: bold;
                        box-sizing: border-box;
                        padding-bottom: 15px;
                    }
                }
            }

            ul:nth-of-type(2) {
                display: flex;
                align-items: center;
                justify-content: center;
                li {
                    width: 110px;
                    height: 140px;
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    justify-content: center;
                    img {
                        width: 50px;
                        //    height: 50px;
                    }
                    &:nth-of-type(1) {
                        background: #005bac;
                        p {
                            color: white;
                        }
                    }

                    &:nth-of-type(2) {
                        background: white;
                    }

                    p {
                        align-self: flex-end;
                        text-align: center;
                        color: rgb(137, 137, 137);
                        font-size: 16px;
                        font-weight: bold;
                        box-sizing: border-box;
                        padding-bottom: 15px;
                    }
                }
            }

            h2 {
                font-size: 25px;
                text-align: center;
                font-weight: bold;
                padding: 20px 0px;
            }
        }

        &.form {
            padding-top: 15px;
            width: 100%;
            height: 100%;
            background: url(./../images/web5-6.png) #c3dbf1 no-repeat;
            background-size: 10%;

            form {
                width: 100%;
                height: 100%;
                padding-bottom: 10px;

                .font2 {
                    height: 50px;
                    img {
                        height: 22px;
                    }

                    color: #c74767;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 12px;

                    span {
                        padding: 1px;
                        background: #f33531;
                        color: white;
                        font-weight: bold;
                        display: inline-block;
                        margin: 0px 5px;
                        border-radius: 6px;
                    }
                }
                .form-box {
                    margin: 10px 0px;
                    padding: 0px 10px;
                    position: relative;

                    .yzm{
                        position: absolute;
                        bottom: 130px;
                        right: 20px;
                        
                    }

                    input[type="text"] {
                        border: 1px solid #eee;
                        outline: none;
                        border-radius: 3px;
                        font-size: 14px;
                        box-sizing: border-box;
                        width: 100%;
                        height: 38px;
                        margin: 0;
                        padding-left: 8px;
                        padding-right: 36px;
                        border: 1px solid #f1f1f1;
                        line-height: 20px;
                        margin-bottom: 10px;
                    }

                    textarea{
                        border: 1px solid #eee;
                        outline: none;
                        border-radius: 3px;
                        font-size: 14px;
                        box-sizing: border-box;
                        width: 100%;
                        height: 38px;
                        margin: 0;
                        padding-left: 8px;
                        padding-right: 36px;
                        border: 1px solid #f1f1f1;
                        line-height: 20px;
                        margin-bottom: 10px;
                        height: 150px;
                    }

                    .tip-info {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        span:nth-of-type(1) {
                            margin-right: 15px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            border: 1px solid #cecece;
                            width: 13px;
                            height: 13px;
                            border-radius: 50px;
                        }
                        span:nth-of-type(2){
                                color: #d80233;
                        }
                        font-size: 12px;
                        text-align: center;
                        color: #66667f;
                    }

                    .submit-bg {
                        background-image: -webkit-linear-gradient(45deg, rgb(245, 105, 35), rgb(255, 11, 11));
                        border-radius: 3px;
                        position: relative;
                        width: 80%;
                        margin: auto;
                        margin-top: 10px !important;
                        // 动画

                        animation-name: mybuttonchange; /*动画的名字*/
                        animation-duration: 1000ms; /*定义动画完成一个周期所需要的时间，以秒或毫秒计*/
                        animation-iteration-count: infinite; /*定义动画的播放次数，这里是无限播放*/
                        animation-direction: alternate; /*定义是否应该轮流反向播放动画，这里是动画轮流播放*/

                        @keyframes mybuttonchange {
                            /*mychange是动画的名字上面有用到*/
                            0% {
                                transform: scale(1);
                            }
                            100% {
                                transform: scale(1.05);
                            }
                        }

                        img {
                            position: absolute;
                            left: 0;
                            // 动画
                            animation-name: mychange2; /*动画的名字*/
                            animation-duration: 2000ms; /*定义动画完成一个周期所需要的时间，以秒或毫秒计*/
                            animation-iteration-count: infinite; /*定义动画的播放次数，这里是无限播放*/

                            @keyframes mychange2 {
                                0% {
                                    left: 0%;
                                }
                                99% {
                                    left: 100%;
                                }

                                100% {
                                    left: 0;
                                }
                            }
                        }
                        input[type="submit"] {
                            outline: none;
                            font-size: 16px;
                            border-radius: 3px;

                            box-sizing: border-box;
                            width: 100%;
                            height: 38px;
                            margin: 0;
                            line-height: 20px;
                            color: white;
                            text-align: center;
                            background: none;
                        }
                    }
                }
            }
        }

        &.list {
            background-color: rgba(167, 27, 27, 0.05);
            height: 251px;
            margin: 0px 15px;
            border-radius: 22px;
            margin-bottom: 15px;

            p {
                color: #f33531;
                font-size: 18px;
                font-weight: bold;
                text-align: center;
                padding-top: 23px;
            }

            .swiper-block {
                margin-top: 20px;
                height: 150px;
                overflow: hidden;

                .swiper-container {
                    width: 100%;
                    height: 150px;
                    .swiper-wrapper {
                        height: 50px;

                        .swiper-slide {
                            display: flex;
                            align-items: center;
                            justify-content: space-around;
                            color: #f33531;
                            img {
                                width: 18px;
                            }

                            span {
                                display: flex;
                                justify-content: center;

                                &:nth-of-type(2){
                                    width: 50px;
                                }

                                &:nth-of-type(3){
                                    width: 130px;
                                }

                                &:nth-of-type(4){
                                    width: 80px;
                                }
                            }
                        }
                    }
                }
            }
        }

        &.field {
            padding: 20px;
            background: #96cbf1 url(./../images/web5-20.png) no-repeat -300% bottom / 80%;

            h1 {
                text-align: center;
                font-size: 32px;
            }
            .swiper-block {
                .swiper-container-field-1 {
                    height: 100px;
                    img {
                        height: 100%;
                    }
                }
            }
            h2 {
                font-size: 32px;
                padding-top: 30px;
                text-align: center;
            }
        }

        &.good-do {
            background: white;
            ul {
                padding: 20px 0px;
                list-style-type: square;
                display: flex;
                flex-wrap: wrap;
                align-content: center;
                justify-content: center;
                li {
                    width: 33.3%;
                    display: flex;
                    align-content: center;
                    justify-content: center;
                    font-size: 18px;
                    line-height: 2;
                }
            }

            > div.info {
                height: 100px;
                background: #96cbf1 url(./../images/web5-7.png) no-repeat center center / 100px;
                color: rgb(71, 85, 119);
                line-height: 2;
                text-align: center;
                display: flex;
                align-items: center;
                padding:  0px 15px;
                justify-content: center;
            }

            > div.win {
               padding-bottom: 30px;
                flex-wrap: wrap;
                height: 292px;
                background: #96cbf1 url(./../images/web5-2.png) no-repeat center center / 100%;
                p {
                padding-bottom: 20px;

                    text-align: center;
                    font-weight: bold;
                    font-size: 15px;
                    color: black;
                    width: 100%;
                    span {
                        color: rgb(243, 121, 52);
                    }
                }
            }
        }

        &.video {
            background: #96cbf1;
            padding: 20px 0px;
            h2 {
                font-size: 20px;
                font-weight: bold;
                text-align: center;
                padding-bottom: 10px;
            }
            video {
                height: 300px;

                width: 100%;
            }

            .font {
                background: url(./../images/web3-11.png) no-repeat;
                height: 372px;
                background-size: 100% 372px;

                display: flex;
                align-items: flex-end;
                .font-box {
                    height: 220px;
                    padding: 20px;
                    box-sizing: border-box;
                    display: flex;
                    align-content: space-around;
                    flex-wrap: wrap;
                    justify-content: center;
                    color: rgb(190, 157, 109);
                    span {
                        display: inline-block;
                        &:nth-of-type(1) {
                            font-size: 20px;
                        }

                        &:nth-of-type(2) {
                            font-size: 5vw;
                        }

                        &:nth-of-type(3) {
                            font-size: 7.5vw;
                        }
                    }
                }
            }
        }

        &.question3 {
            .details {
                background: white;
                font-size: 12px;
                color: rgb(137, 137, 137);
                line-height: 1.5;
                padding: 10px;
                p {
                    line-height: 1.5;
                    padding: 15px 0px;
                    text-align: center;
                }
            }
        }
    }
}

footer {
    background: #fafafa;
    color: #fafafa;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
    p {
        text-align: center;
        font-size: 15px;
        color: #9999;
    }
    .call-me {
        background: #f13f40;
        height: 50px;
        position: fixed;
        z-index: 3;
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 25px;
        a {
            color: #fafafa;

            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            img {
                margin-right: 10px;
            }
        }
    }
}


